Ext.Loader.setConfig({enabled: true});

Ext.application({
	appFolder: 'emp',
    name: 'Emp',
    paths: {
        'Ext.ux': PATH + '/' + Emp.ext + '/examples/ux'
    },
    controllers: ['InitController'],
    launch: function() {
    	var theme = Ext.util.Cookies.get('theme');
		if(theme !== null) {
			Ext.util.CSS.swapStyleSheet('theme', Emp.ext + '/resources/css/'+ theme);
		}
    }
});